function getBillList (params) {
    return $axios({
        url: '/bill/page',
        method: 'get',
        params
    })
}
function getDistinctProname () {
    return $axios({
        url: '/bill/all/proname',
        method: 'get',
    })
}

// 新增---添加订单
function addBill (params) {
    return $axios({
        url: '/bill',
        method: 'post',
        data: { ...params }
    })
}

// 修改---添加订单
function editBill(params) {
    return $axios({
        url: '/bill',
        method: 'put',
        data: { ...params }
    })
}

// 删除---删除订单
function deleBill (id)  {
    return $axios({
        url: '/bill',
        method: 'delete',
        params: { id }
    })
}


function queryBillById (id) {
    return $axios({
        url: `/bill/${id}`,
        method: 'get'
    })
}
function getAllProviderDto () {
    return $axios({
        url: `/provider/all/providerDto`,
        method: 'get'
    })
}

